package com.zxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 用作登录实体类接收
 *
 * @author: Zxy
 * @Date: 2021-05-11
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class Login {

    @NotBlank(message = "账户信息不能为空")
    private String idCard;

    private String code;

    private String password;
}
